package com.rui.template.obj;

public abstract class DayOffProcess {

    // 请假模板
    public final void dayOffProcess() {
        // 领取申请表
        this.pickUpForm();
        // 填写申请信息
        this.writeInfo();
        // 签名
        this.signUp();
        // 提交到不同部门审批
        this.summit();
        // 行政部备案
        this.filing();
    }

    private void filing() {
        System.out.println("行政部备案");
    }

    protected abstract void summit();

    protected abstract void signUp();

    private void writeInfo() {
        System.out.println("填写申请信息");
    }

    private void pickUpForm() {
        System.out.println("领取申请表");
    }
}
